package edu.sctu.practice.class01.xiangkun.day20151112.demotwo;

/**
 * Created by xiangkun on 2015/11/12.
 */
public class Student {

    String name;
    String sex;
    int age;

    public void Student(String name,String sex,int age){
        this.name = name;
        this.sex = sex;
        this.age = age;
        System.out.println("姓名：" + name+"\n"+"性别："+sex +"\n"+ "年龄："+age);
    }

    public void people(){
        this.name = "Tom";
        this.sex = "女";
        this.age = 20;
    }

}
